adjust QMimeDatabase implementation
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 14 Nov 2021 13:34:39 +0000 (13:34 +0000)
commit4390b44184d9628a7748909ee46746c159b7edc5
tree1f9faef08f0da7d7ffd53b750fef9f39f475001b
parent5c3ad7d1a481a79f6052b9c6bbdedcae01d83b03
adjust QMimeDatabase implementation

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0cbbba2aa5b47224
Last-Update: 2021-06-12

When multiple globs match, and the result from magic sniffing is
unrelated to any of those globs, globs have priority and one of them
should be picked up.

Gbp-Pq: Name mime_globs.diff
src/corelib/mimetypes/qmimedatabase.cpp
src/corelib/mimetypes/qmimeglobpattern.cpp